package com.guoq.service;

import java.util.List;

import com.guoq.pojo.EUDataGridResult;
import com.guoq.pojo.Result;
import com.guoq.pojo.Sms;
import com.guoq.pojo.SmsExample;

/**
 * 
 * <P>类名称:ISmsService
 * <P>类描述: 短信service接口类 
 * <P>创建人:郭强  
 * <P>修改人:XXX 
 * <P>修改时间:2017年7月19日 上午11:10:07
 * <P>修改备注: 
 * @version 1.0.0
 * Copyright(c)2017西部在线-版权所有
 */
public interface ISmsService {
	
	public Sms getById(int userId);
	public Sms getByPhonenumber(String phonenumber);
	public List<Sms> getList();
	public EUDataGridResult getPageList(Sms record, Integer page, Integer rows);
	public List<Sms> selectByExample(SmsExample example);
	public Sms selectByPrimaryKey(Integer id);
	public int countByExample(SmsExample example);
	
	public Result create(Sms record) throws Exception;
	public Result update(Sms record) throws Exception;
	public Result delete(Sms record) throws Exception;
	
}
